package com.caipiao.pojo;

import java.util.Date;

/**
 * 个人消息信息表
 * 
 * @author wcyong
 * 
 * @date 2019-01-09
 */
public class SMessage {
    private Long id;

    /**
     * 发送消息者ID(0则为系统发送)
     */
    private Long senderUid;

    /**
     * 接受者ID
     */
    private Long recipientUid;

    /**
     * 消息内容
     */
    private String message;

    /**
     * 0删除 1 正常
     */
    private Integer status;

    /**
     * 添加时间
     */
    private Date addTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSenderUid() {
        return senderUid;
    }

    public void setSenderUid(Long senderUid) {
        this.senderUid = senderUid;
    }

    public Long getRecipientUid() {
        return recipientUid;
    }

    public void setRecipientUid(Long recipientUid) {
        this.recipientUid = recipientUid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}